package com.wuercloud.http.json.pojo;

/**
 * Created by fsj on 2017/2/13.
 */
public class SendMessage extends BizInfo {

    /**
     * 发送方式，用于设置channel个数
     * 0：短信+微信+APP
     * 1:微信+APP
     * 2：无
     * 3：短信或微信+APP(关注微信，发微信+app；其他发短信)
     * 4：只发短信
     */
    private Integer sendType;
    /**
     * 消息标体必填
     */
    private String msgTitle;
    /**
     * 消息内容必填
     */
    private String msg;
    /**
     * 连接地址。可为空（微信分享）
     **/
    private String link;
    /**
     * 通道标识。必填（代表队列,多个队列使用&拼接
     * 0：舟山;1：三通;2:33得九;3:创世漫道;4:云峰科技;
     * 1000:微信;1001:app;
     */
    private String channel;
    /***发送时间。可为空**/
    private String sendTime;

    /**
     * 门禁打卡时间，可为空
     */
    private String cardTime;
    /**
     * 消息创建时间。可为空
     **/
    private String creatTime;
    /**
     * 消息销毁时间。可为空
     **/
    private String deadTime;
    /***
     * 队列存活时间，必填
     */
    private long survivalTime;
    /***
     * 来源学校。用于发送完成后扣款
     * 必填
     */
    private Long fromSchId;
    /**
     * 班级id,可为空
     */
    private Long fromClassId;
    /**
     * 是否置顶。可为空<0:否；1:是>
     **/
    private int isTop;
    /***
     * 发送者id ，可为空
     */
    private Long snederId;
    /***
     * 置顶时间，可为空
     */
    private String topTime;
    /**
     * 发送者姓名，可为空
     */
    private String senderName;
    /**
     * 发送者号码，可为空
     */
    private String senderPhone;
    /**
     * 接收者Id,必填
     */
    private Long recverId;
    /***
     * 接收者姓名，必填
     */
    private String recverName;
    /***
     * 接收者号码，必填
     */
    private String recevPhone;

    /***
     * 微信号码，可为空
     */
    private String recvWechat;


    public SendMessage() {
        super();
    }

    public SendMessage(String msgTitle, String msg, Long fromSchId, Long recverId, String recevPhone, String recverName, Integer sendType, Long survivalTime) {
        this.msgTitle = msgTitle;
        this.msg = msg;
        this.fromSchId = fromSchId;
        this.recverId = recverId;
        this.recevPhone = recevPhone;
        this.recverName = recverName;
        this.sendType = sendType;
        this.survivalTime = survivalTime;
    }


    public Integer getSendType() {
        return sendType;
    }

    public void setSendType(Integer sendType) {
        this.sendType = sendType;
    }

    public void setSnederId(Long snederId) {
        this.snederId = snederId;
    }

    public String getSenderPhone() {
        return senderPhone;
    }

    public void setSenderPhone(String senderPhone) {
        this.senderPhone = senderPhone;
    }

    public String getMsgTitle() {
        return msgTitle;
    }

    public void setMsgTitle(String msgTitle) {
        this.msgTitle = msgTitle;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }


    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(String creatTime) {
        this.creatTime = creatTime;
    }

    public Long getSnederId() {
        return snederId;
    }

    public String getDeadTime() {
        return deadTime;
    }

    public void setDeadTime(String deadTime) {
        this.deadTime = deadTime;
    }

    public long getSurvivalTime() {
        return survivalTime;
    }

    public void setSurvivalTime(long survivalTime) {
        this.survivalTime = survivalTime;
    }

    public int getIsTop() {
        return isTop;
    }

    public void setIsTop(int isTop) {
        this.isTop = isTop;
    }

    public String getTopTime() {
        return topTime;
    }

    public void setTopTime(String topTime) {
        this.topTime = topTime;
    }

    public String getSenderName() {
        return senderName;
    }

    public void setSenderName(String senderName) {
        this.senderName = senderName;
    }


    public String getRecverName() {
        return recverName;
    }

    public void setRecverName(String recverName) {
        this.recverName = recverName;
    }

    public String getRecevPhone() {
        return recevPhone;
    }

    public void setRecevPhone(String recevPhone) {
        this.recevPhone = recevPhone;
    }

    public String getRecvWechat() {
        return recvWechat;
    }

    public void setRecvWechat(String recvWechat) {
        this.recvWechat = recvWechat;
    }

    public Long getFromSchId() {
        return fromSchId;
    }

    public void setFromSchId(Long fromSchId) {
        this.fromSchId = fromSchId;
    }

    public Long getFromClassId() {
        return fromClassId;
    }

    public void setFromClassId(Long fromClassId) {
        this.fromClassId = fromClassId;
    }

    public Long getRecverId() {
        return recverId;
    }

    public void setRecverId(Long recverId) {
        this.recverId = recverId;
    }
}
